import HoHo from '@/views/Secondes/HoHo.vue'
import JoJo from '@/views/Secondes/JoJo.vue'
import LoLo from '@/views/Secondes/LoLo.vue'
import XoXo from '@/views/Secondes/XoXo.vue'
import LoginLuo from '@/views/LoginLuo.vue'
import Register from '@/views/register.vue'
import YoYo from '@/views/YoYo.vue'
import PoPo from '@/views/PoPo.vue'
import LiSout from '@/views/liSout.vue'
import DiTu from '@/views/DiTu.vue'
import FbFy from '@/views/FbFy.vue'
import ShouCang from '@/views/ShouCang.vue'
const routes = [
  {
    path: '/',
    component: YoYo,
    redirect: '/hoho',
    children: [
      {
        path: 'hoho/',
        component: HoHo
      },
      {
        path: 'jojo',
        component: JoJo
      },
      {
        path: 'lolo',
        component: LoLo
      },
      {
        path: 'xoxo',
        component: XoXo
      }
    ]
  },

  {
    path: '/loginluo',
    component: LoginLuo
  },
  {
    path: '/register',
    component: Register
  },
  {
    // path: '/popo/:id',
    path: '/popo/:id',
    component: PoPo
  },
  {
    path: '/lisout/',
    component: LiSout
  },
  {
    path: '/ditu',
    component: DiTu
  },
  {
    path: '/fbfy',
    component: FbFy
  },
  {
    path: '/shoucang',
    component: ShouCang
  }
]
export default routes
